package common;

/**
 * This class represents Automatic exam execution operation
 *
 */
public class AutoExamExecution extends ExamExecution {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2405207842783286618L;
	private int exam;
	private int minCheatingErrors;
	private String studentsNotes;
	private String teachersNotes;
	
	/**
	 * Default constructor
	 */
	public AutoExamExecution() {
		super();
	}
	
	/**
	 * Minimal cheating errors getter
	 * @return Minimal cheating errors number
	 */
	public int getMinCheatingErrors() {
		return minCheatingErrors;
	}
	
	/**
	 * Minimal cheating errors setter
	 * @param minCheatingErrors Minimal cheating errors number
	 */
	public void setMinCheatingErrors(int minCheatingErrors) {
		this.minCheatingErrors = minCheatingErrors;
	}
	
	/**
	 * Automatic exam id getter
	 * @return Id of the automatic exam (6 digits code)
	 */
	public int getExam() {
		return exam;
	}
	
	/**
	 * Automatic exam id setter
	 * @param exam Id of the automatic exam (6 digits code)
	 */
	public void setExam(int exam) {
		this.exam = exam;
	}

	/**
	 * Student notes getter
	 * @return Student notes
	 */
	public String getStudentsNotes() {
		return studentsNotes;
	}

	/**
	 * Student notes setter
	 * @param studentsNotes Student notes
	 */
	public void setStudentsNotes(String studentsNotes) {
		this.studentsNotes = studentsNotes;
	}

	/**
	 * Teachers notes getter
	 * @return Teachers notes
	 */
	public String getTeachersNotes() {
		return teachersNotes;
	}

	/**
	 * Teachers notes setter
	 * @param teachersNotes Teachers notes
	 */
	public void setTeachersNotes(String teachersNotes) {
		this.teachersNotes = teachersNotes;
	}
	
}
